/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       imagefactory.h
 * Author:     karooolek
 * Created on: 2009-03-22
 *
 **********************************************************************************************************************/

#ifndef IMAGEFACTORY_H_
#define IMAGEFACTORY_H_

#include "image.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * Image factory base class.
 */
class ImageFactory
{
protected:
    /**
     * Created image
     */
    Image *_image;

public:
    /**
     * Create image factory.
     */
    ImageFactory();

    /**
     * Destroy image factory.
     */
    virtual ~ImageFactory();

    /**
     * Get created image.
     * @return created image
     */
    Image *getImage() const
    {
        return _image;
    }
};

}
}

#endif // IMAGEFACTORY_H_
